﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace H.Y.Clipboard
{
	class ConnectStatus:INotifyPropertyChanged
	{
		public event PropertyChangedEventHandler PropertyChanged;
		private string _text;//私有  
		public string text
		{
			//获取值时将私有字段传出；  
			get { return _text; }
			set
			{
				//赋值时将值传给私有字段  
				_text = value;
				//一旦执行了赋值操作说明其值被修改了，则立马通过INotifyPropertyChanged接口告诉UI(IntValue)被修改了  
				PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("runtimes"));
			}
		}
	}
}
